package com.ruoyi.admin.domain.vo.response.brand;

import com.ruoyi.admin.domain.entity.BrandModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * 品牌返回数据实体
 *
 * @author jianhan
 * @date 2023-01-31 10:49:28
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class BrandResponse {


    @ApiModelProperty(value = "主键", required = true)
    private Long id;

    @ApiModelProperty(value = "品牌", required = true)
    private String brand;

    public BrandResponse(BrandModel brandModel) {
        BeanUtils.copyProperties(brandModel, this);
    }

}
